package com.hejing.bpeldesign.model;

import java.util.ArrayList;
import java.util.List;

public class InvokeNode extends BpelNode {
    public  String description;
    public  String partnerLink;
    public  String partnerLinkType;
    public  String operation;
    public  String operationDesc;
    public  boolean ignoreThrow;
    public  boolean fork;
    public  List<String> inputs = new ArrayList<>();
    public  String output;

    public InvokeNode(String id, String name, String type, int x, int y, int width, int height) {
        super(id, name, type, x, y, width, height);
    }

    public void setDescription(String v) { this.description = v; }
    public void setPartnerLink(String v) { this.partnerLink = v; }
    public void setPartnerLinkType(String v) { this.partnerLinkType = v; }
    public void setOperation(String v) { this.operation = v; }
    public void setOperationDesc(String v) { this.operationDesc = v; }
    public void setIgnoreThrow(boolean v) { this.ignoreThrow = v; }
    public void setFork(boolean v) { this.fork = v; }
    public void addInput(String input) { this.inputs.add(input); }
    public void setOutput(String output) { this.output = output; }
}
